#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int age;
	scanf("%d", &age);
	if (age <= 16)
	{
		printf("weichanegnian");
	}else if (age <= 25)
	{
		printf("qingnian");
	}
	else if (age <= 60)
	{
		printf("zhongnian");
	}
	else
	{
		printf("laonain");
	}
}